home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 684 / 684.xpi / chrome / fireftp.jar / content / properties.xul < prev    next >
Extensible Markup Language  |  2009-11-11  |  8KB  |  181 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/global.css"   type="text/css"?>
  4. <?xml-stylesheet href="chrome://fireftp/skin/fireftp.css" type="text/css"?>
  5. <?xml-stylesheet href="chrome://fireftp/skin/platform.css" type="text/css"?>
  6.  
  7. <!DOCTYPE dialog SYSTEM "chrome://fireftp/locale/properties.dtd">
  8. <dialog id             = "properties"
  9.         title          = "&title;"
  10.         width          = "600"
  11.         height         = "512"
  12.         xmlns          = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.         xmlns:html     = "http://www.w3.org/1999/xhtml"
  14.         persist        = "screenX screenY width height"
  15.         onload         = "init()"
  16.         buttons        = "accept, cancel"
  17.         ondialogaccept = "return doOK()"
  18.         ondialogcancel = "return true">
  19.  
  20.   <stringbundle id="strings" src="chrome://fireftp/locale/strings.properties"/>
  21.  
  22.   <script type="application/x-javascript" src="chrome://fireftp/content/js/dialogs/properties.js"/>
  23.   <script type="application/x-javascript" src="chrome://fireftp/content/js/etc/common.js"/>
  24.   <script type="application/x-javascript" src="chrome://fireftp/content/js/etc/misc.js"/>
  25.   <script type="application/x-javascript" src="chrome://fireftp/content/js/etc/threads.js"/>
  26.  
  27.   <grid flex="1" class="overflowBox">
  28.     <columns>
  29.       <column/>
  30.       <column flex="1"/>
  31.     </columns>
  32.     <rows>
  33.       <row                            align="center">
  34.         <box                          width="32" height="32">
  35.           <image     id="fileIcon"    width="32" height="32"/>
  36.         </box>
  37.         <textbox     id="name"        readonly="true" class="textfield"/>
  38.       </row>
  39.       <row           id="pathrow"     align="center">
  40.         <description                  value="&path;"/>
  41.         <textbox     id="path"        readonly="true" class="textfield"/>
  42.       </row>
  43.       <row           id="webpathrow"  align="center">
  44.         <description                  value="&webpath;"/>
  45.         <textbox     id="webpath"     readonly="true" class="textfield"/>
  46.       </row>
  47.       <row                            align="center">
  48.         <description                  value="&size;"/>
  49.         <textbox     id="size"        readonly="true" class="textfield"/>
  50.       </row>
  51.       <row           id="daterow"     align="center">
  52.         <description                  value="&date;"/>
  53.         <textbox     id="date"        readonly="true" class="textfield"/>
  54.       </row>
  55.       <row           id="containsrow" align="center">
  56.         <description                  value="&contains;"/>
  57.         <textbox     id="contains"    readonly="true" class="textfield"/>
  58.       </row>
  59.       <row           id="userrow"     align="center">
  60.         <description                  value="&user;"/>
  61.         <textbox     id="user"        readonly="true" class="textfield"/>
  62.       </row>
  63.       <row           id="grouprow"    align="center">
  64.         <description                  value="&groupl;"/>
  65.         <textbox     id="group"       readonly="true" class="textfield"/>
  66.       </row>
  67.       <row           id="attrrow"     align="center">
  68.         <description                  value="&attr;"/>
  69.         <hbox>
  70.           <checkbox  id="readonly"    label="&reado;"/>
  71.           <checkbox  id="hidden"      label="&hidden;"/>
  72.         </hbox>
  73.       </row>
  74.       <row id="permrow" align="center">
  75.         <description value="&perm;"/>
  76.         <hbox>
  77.           <groupbox>
  78.             <caption                       label="&owner;"/>
  79.             <checkbox   id="readowner"     label="&read;"/>
  80.             <checkbox   id="writeowner"    label="&write;"/>
  81.             <checkbox   id="execowner"     label="&exec;"/>
  82.             <checkbox   id="suid"          label="&suid;"/>
  83.           </groupbox>
  84.           <groupbox     class="paddingLeft">
  85.             <caption                       label="&group;"/>
  86.             <checkbox   id="readgroup"     label="&read;"/>
  87.             <checkbox   id="writegroup"    label="&write;"/>
  88.             <checkbox   id="execgroup"     label="&exec;"/>
  89.             <checkbox   id="guid"          label="&guid;"/>
  90.           </groupbox>
  91.           <groupbox     class="paddingLeft">
  92.             <caption                       label="&public;"/>
  93.             <checkbox   id="readpublic"    label="&read;"/>
  94.             <checkbox   id="writepublic"   label="&write;"/>
  95.             <checkbox   id="execpublic"    label="&exec;"/>
  96.             <checkbox   id="sticky"        label="&sticky;"/>
  97.           </groupbox>
  98.           <vbox         class="paddingLeft">
  99.             <label                         value="&manual;" control="manual"/>
  100.             <textbox    id="manual"        value=""         size="4"        maxlength="4"/>
  101.             <vbox       id="multipleprops">
  102.               <label                       value="&applyto;"/>
  103.               <checkbox id="thisprop"      label="&thisprop;"/>
  104.               <checkbox id="foldersprop"   label="&folderprop;"/>
  105.               <checkbox id="filesprop"     label="&filesprop;"/>
  106.             </vbox>
  107.           </vbox>
  108.         </hbox>
  109.       </row>
  110.       <row id="thumbrow" align="center">
  111.         <spacer />
  112.         <box pack="left">
  113.           <groupbox>
  114.             <caption label="&thumbnail;"/>
  115.             <vbox    pack="center"      class="paddingTop">
  116.               <hbox>
  117.                 <box       id="imagebox">
  118.                   <browser id="thumbnail" width="150" height="150" src=""/>
  119.                 </box>
  120.                 <box           id="webbox">
  121.                   <html:span   id="loadinglabel">&loading;</html:span>
  122.                   <html:canvas id="canvas" width="188" height="150"/>
  123.                 </box>
  124.               </hbox>
  125.               <box      pack="center"   class="paddingTop">
  126.                 <button id="viewButton" label="&view.label;" accesskey="&view.accesskey;" oncommand="viewImage()"/>
  127.               </box>
  128.             </vbox>
  129.           </groupbox>
  130.         </box>
  131.       </row>
  132.       <row           id="hashrow"     align="center">
  133.         <description value="&hash;"   class="paddingRight" />
  134.         <hbox>
  135.           <description id="md5btn"    value="MD5"      class="textLink paddingRight" onclick="generateHashes('md5')"/>
  136.           <description id="sha1btn"   value="SHA1"     class="textLink paddingRight" onclick="generateHashes('sha1')"/>
  137.           <description id="sha256btn" value="SHA256"   class="textLink paddingRight" onclick="generateHashes('sha256')"/>
  138.           <description id="sha384btn" value="SHA384"   class="textLink paddingRight" onclick="generateHashes('sha384')"/>
  139.           <description id="sha512btn" value="SHA512"   class="textLink paddingRight" onclick="generateHashes('sha512')"/>
  140.         </hbox>
  141.       </row>
  142.       <row           id="md5row"      align="center"  collapsed="true">
  143.         <description                  value="MD5:"/>
  144.         <deck        id="md5deck">
  145.           <progressmeter id="md5meter" mode="undetermined" />
  146.           <textbox   id="md5"         readonly="true" class="textfield"/>
  147.         </deck>
  148.       </row>
  149.       <row           id="sha1row"     align="center"  collapsed="true">
  150.         <description                  value="SHA1:"/>
  151.         <deck        id="sha1deck">
  152.           <progressmeter id="sha1meter" mode="undetermined" />
  153.           <textbox   id="sha1"        readonly="true" class="textfield"/>
  154.         </deck>
  155.       </row>
  156.       <row           id="sha256row"   align="center"  collapsed="true">
  157.         <description                  value="SHA256:"/>
  158.         <deck        id="sha256deck">
  159.           <progressmeter id="sha256meter" mode="undetermined" />
  160.           <textbox   id="sha256"      readonly="true" class="textfield"/>
  161.         </deck>
  162.       </row>
  163.       <row           id="sha384row"   align="center"  collapsed="true">
  164.         <description                  value="SHA384:"/>
  165.         <deck        id="sha384deck">
  166.           <progressmeter id="sha384meter" mode="undetermined" />
  167.           <textbox   id="sha384"      readonly="true" class="textfield"/>
  168.         </deck>
  169.       </row>
  170.       <row           id="sha512row"   align="center"  collapsed="true">
  171.         <description                  value="SHA512:"/>
  172.         <deck        id="sha512deck">
  173.           <progressmeter id="sha512meter" mode="undetermined" />
  174.           <textbox   id="sha512"      readonly="true" class="textfield"/>
  175.         </deck>
  176.       </row>
  177.     </rows>
  178.   </grid>
  179.  
  180. </dialog>
  181.